projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
512d8b9
)
Un-reverse references in xref buffer
author
Stefan Kangas
<stefankangas@gmail.com>
Sun, 9 Jan 2022 01:50:38 +0000
(
02:50
+0100)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sun, 9 Jan 2022 01:51:33 +0000
(
02:51
+0100)
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/763
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index 712ad172985045ea852687d940ea0081c05e8105..72cf0c44fcb4222b8eb05397a3e3329d23e6bef3 100644
(file)
--- a/
lisp/progmodes/eglot.el
+++ b/
lisp/progmodes/eglot.el
@@
-2148,6
+2148,7
@@
may be called multiple times (respecting the protocol of
(let (,collected)
(cl-flet ((,collector (xref) (push xref ,collected)))
,@body)
+ (setq ,collected (nreverse ,collected))
(sort ,collected eglot-xref-lessp-function))
(maphash (lambda (_uri buf) (kill-buffer buf)) eglot--temp-location-buffers)
(clrhash eglot--temp-location-buffers))))